home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / robodozerfrag.gsh < prev    next >
Text File  |  2000-08-22  |  3KB  |  115 lines

  1. // defines the fragmented robodozer
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_ROBODOZERFRAG_GSH
  8. #define INCLUDED_ROBODOZERFRAG_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. hierarchy Hcy_RobodozerfragA
  15. {
  16.     file    "objects\robodozer frag A.rif"
  17.     name    "robodozer frag A"
  18.     hotspot none
  19. }
  20.  
  21. role Rol_RobodozerfragA : Rol_PlacedObject
  22. {
  23.     shape        Hcy_RobodozerfragA
  24.     identifier         "robodozerfragA"
  25.     frag control    yes
  26.     hit test ignore yes
  27. }
  28.  
  29. ////////////////////////////////////////////////////////////////////////////////////
  30.  
  31. hierarchy Hcy_RobodozerfragB
  32. {
  33.     file    "objects\robodozer frag B.rif"
  34.     name    "robodozer frag B"
  35.     hotspot none
  36. }
  37.  
  38. role Rol_RobodozerfragB : Rol_PlacedObject
  39. {
  40.     shape        Hcy_RobodozerfragB
  41.     identifier     "robodozerfragB"
  42.     frag control    yes
  43.     hit test ignore yes
  44. }
  45.  
  46. ////////////////////////////////////////////////////////////////////////////////////
  47.  
  48. hierarchy Hcy_RobodozerfragC
  49. {
  50.     file    "objects\robodozer frag C.rif"
  51.     name    "robodozer frag C"
  52.     hotspot none
  53. }
  54.  
  55. role Rol_RobodozerfragC : Rol_PlacedObject
  56. {
  57.     shape        Hcy_RobodozerfragC
  58.     identifier     "robodozerfragC"
  59.     frag control    yes
  60.     hit test ignore yes
  61. }
  62.  
  63. ////////////////////////////////////////////////////////////////////////////////////
  64.  
  65. hierarchy Hcy_Robodozertracksleft
  66. {
  67.     file    "objects\robodozer tracksleft.rif"
  68.     name    "robodozer tracksleft"
  69. }
  70.  
  71. frag data FrgC_Robodozer    // this creates frag bits
  72. {
  73.     role            Rol_RobodozerfragC
  74.     scale            10
  75. }
  76.  
  77. role Rol_Robodozertracksleft : Rol_PlacedObject
  78. {
  79.     shape        Hcy_Robodozertracksleft
  80.     identifier         "robodozertracksleft"
  81.     destructibility    FrgC_Robodozer
  82.     ai                blocker
  83.     armour            0
  84. }
  85.  
  86. ////////////////////////////////////////////////////////////////////////////////////
  87.  
  88. hierarchy Hcy_Robodozerhalfleft
  89. {
  90.     file    "objects\robodozer halfleft.rif"
  91.     name    "robodozer halfleft"
  92. }
  93.  
  94. frag data FrgB_Robodozer    // this creates Rol_Robodozertracksleft and frag bits
  95. {
  96.     role        Rol_RobodozerfragB
  97.     replace role    Rol_Robodozertracksleft
  98.     replace         yes                // get rid of the old half
  99.     scale        10
  100.     symmetric        no
  101. }
  102.  
  103. role Rol_Robodozerhalfleft : Rol_PlacedObject
  104. {
  105.     shape        Hcy_Robodozerhalfleft
  106.     identifier         "robodozerhalfleft"
  107.     destructibility    FrgB_Robodozer
  108.     ai        blocker
  109.     armour            0
  110. }
  111.  
  112. ////////////////////////////////////////////////////////////////////////////////////
  113.  
  114. // end wrapper - for preventing multiple or recursive inclusions
  115. #endif // !INCLUDED_ROBODOZERFRAG_GSH